//
//  NetworkHandler.h
//  UI19_封装网络请求
//
//  Created by Marry W. on 15/12/31.
//  Copyright © 2015年 www.lanou39.蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^NETBLOCK)(id result);
@interface NetworkHandler : NSObject

// GET
+ (void)GEYWithURL:(NSString *)str completion:(NETBLOCK)netBlock;
// POST
+ (void)POSTWithURL:(NSString *)str
               body:(NSData *)body
         completion:(NETBLOCK)netBlock;
@end
